import dayjs from "dayjs"

export const dateFromat = (date?: string) => {
    if(!date) return ''
    return dayjs(date).format('YYYY-MM-DD HH:mm:ss')
}